#pragma once
#include "persistable.h"
#include "memento.h"
#include <string>

class CCFGDataSource : public xml_api::Persistable
{
public:
  CCFGDataSource(void);
  virtual ~CCFGDataSource(void);

public:
  virtual bool SaveState(xml_api::Memento* m);
  virtual bool LoadState(xml_api::Memento* m);

public:
  std::string m_main_server;
  int m_main_port;
  std::string m_backup_server;
  int m_backup_port;
};
